Choosing a Set of Partitions to Collect in a Connectivity-Based Garbage Collector ; CU-CS-958-03

نویسندگان

  • Martin Hirzel
  • Harold N. Gabow
  • Amer Diwan
چکیده

Connectivity-Based Garbage Collection is a new family of garbage collection algorithms that are based on potential object connectivity properties. Objects are placed into partitions based on a static connectivity analysis. When the program needs memory, the collector can choose a set of partitions to do a garbage collection on. This choice should maximize the expected benefit in reclaimed memory, while minimizing the cost in expended work. We formalize this problem and present the flow-based chooser, an algorithm that uses network flow to find an optimal solution. We compare it to the greedy chooser, a simpler algorithm that may not find an optimal solution.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Choosing a Set of Partitions to Collect in a Connectivity-Based Garbage Collector

Connectivity-Based Garbage Collection is a new family of garbage collection algorithms that are based on potential object connectivity properties. Objects are placed into partitions based on a static connectivity analysis. When the program needs memory, the collector can choose a set of partitions to do a garbage collection on. This choice should maximize the expected benefit in reclaimed memor...

متن کامل

Understanding the Connectivity of Heap Objects ; CU-CS-923-01

Modern garbage collectors partition the set of heap objects to achieve the best performance. For example, generational garbage collectors partition objects by age and focus their efforts on the youngest objects. Partitioning by age works well for many programs because younger objects usually have short lifetimes and thus garbage collection of young objects is often able to free up many objects....

متن کامل

Mosaic: A Non-Intrusive Complete Garbage Collector for DSM System

Little work has been done in garbage collection algorithms for distributed shared memory systems. Mosaic is a safe and complete garbage collection system that collects garbage in object systems that are implemented above page-based distributed shared memory systems. It is non-intrusive in its impact on application performance. Mosaic partitions the virtual address space into separately managed ...

متن کامل

Comprehensive and Robust Garbage Collection in a Distributed System

The overall goal of the Emerald garbage collection scheme is to provide an e cient \on-they" garbage collection in a distributed object-based system that collects all garbage, and that is robust to partial failures. The rst goal is to collect all garbage in the entire distributed system; we say that the collection is comprehensive in contrast to conservative collectors that only collect most ga...

متن کامل

Garbage Collection Hints

This paper shows that Appel-style garbage collectors often make suboptimal decisions both in terms of when and how to collect. We argue that garbage collection should be done when the amount of live bytes is low (in order to minimize the collection cost) and when the amount of dead objects is high (in order to maximize the available heap size after collection). In addition, we observe that Appe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015